package pojo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import sun.misc.Contended;

@Component
public class User1 {
//    相当于<property name="name" value="jj"/>
    @Value("jj")
    public String name ;
}


